package cn.jiyun.entity;

public class Goods {
    private Integer id;
    private String title;
    private  Integer type_id;
    private Integer state;

    public Integer getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public Integer getType_id() {
        return type_id;
    }

    public Integer getState() {
        return state;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", type_id=" + type_id +
                ", state=" + state +
                '}';
    }

    public Goods() {}

    public Goods(Integer id, String title, Integer type_id, Integer state) {
        this.id = id;
        this.title = title;
        this.type_id = type_id;
        this.state = state;
    }
}
